package com.gp.demo.service;

import com.gp.framework.annotation.GPService;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

/**
 * 测试服务
 *
 * @author
 * @create 2017-06-21
 */
@GPService("testService")
public class TestService {
    private static final Logger LOGGER = LogManager.getLogger(TestService.class);

    public String hello(String name, String addr, int age) {
        LOGGER.info("hello");
        return "hello " + name;
    }

    public void world(String name) {
        LOGGER.info("world");
    }
}
